import { createApp } from "vue"

import App from "./App.vue"
const app = createApp(App)
import { createPinia } from 'pinia'
// 引入持久化插件
import piniaPluginPersist from 'pinia-plugin-persistedstate'
const store = createPinia()
// 使用该插件
store.use(piniaPluginPersist)

app.use(store)
app.mount("#app")
